package com.share.hope.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@Schema(description = "用户收藏贫困儿童的对应关系")
@TableName(value = "user_collect_poor_child")
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class UserCollectPoorChild {

    @TableField(value = "user_id")
    @Schema(description = "用户表主键")
    private Long userId;

    @TableField(value = "child_id")
    @Schema(description = "儿童表主键")
    private Long childId;

}
